﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace zapisOdczyt
{
    class Program
    {
        private struct Entry
        {
            string name;
            int number;
            double price;
        }

        public static void printMenu()
        {
            Console.WriteLine("Wybierz opcje");
            Console.WriteLine("1: Odczytaj z pliku");
            Console.WriteLine("2: Zapis pliku");
        }

        static void Main(string[] args)
        {
            string DBFile = "DBFile.txt";
            ConsoleKeyInfo consInp;
            List<Entry> lista = new List<Entry>();

            do
            {
                Console.Clear();
                printMenu();

                consInp = Console.ReadKey();
            }
            while (consInp.Key != ConsoleKey.Escape);
        }
    }
}
